package com.sinosoft.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.sinosoft.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 文件服务
 *
 * @author tangyongbo
 */
@EnableCustomSwagger2
@MapperScan("com.sinosoft.user.mapper")
@EnableFeignClients(basePackages = {"com.sinosoft.system.api"})//加上这一句，否则会报无法找到RemoteLogService的注入的报错
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class BMPSUserApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(BMPSUserApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  示例1服务模块启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}
